<h1>Registration Information</h1><br />
<?php
    $person = $reg->getRegistrantId();
    $person2 = RegistrantPeer::retrieveByPK($person);
?>
<h2>Personal Information</h2>
<ul>
<li>Name: <?php  echo $person2->getName(); ?></li>
<li>Name on Badge: <?php  echo $person2->getBadgename(); ?></li>
<li>Address:  <?php echo $person2->getAddress(); ?></li>
<li>City:  <?php echo $person2->getCity(); ?></li>
<li>State:  <?php echo $person2->getState(); ?></li>
<li>Zip Code:  <?php echo $person2->getZipcode(); ?></li>
<li>Country:  <?php echo $person2->getCountry(); ?></li><br/>
<li>Phone Number:  <?php echo $person2->getPhone(); ?></li>
<li>Email Address:  <?php echo $person2->getEmail(); ?></li>
<?php 
	if($person2->isLDAMember()){
		echo '<li>LDAA Member ID: '.$person2->getMemberId().'</li>';
	} else{
		echo '<li>This person is not an LDAA Member.</li>';
	}
?>
</ul><br/><br/><h2>Payment Information:</h2>
<ul>
<li>Billing Address:<br/>
<?php 
echo $reg->getBillFirstName().' '.$reg->getBillFirstName().'<br/>'.$reg->getBillAddress();
echo '<br/>'.$reg->getBillCity().', '.$reg->getBillState().' '.$reg->getBillZipcode().'<br/>'.$reg->getBillCountry();
?></li><br/>
<li>Ammount Paid for Conference: $<?php echo $reg->getTotalPaid();?></li>
<li>Donation Ammount: $<?php echo $reg->getDonation();?></li>
<li>Invoice Number:<?php echo $reg->getInvoice(); ?></li>
</ul>
</ul><br/><br/><h2>Registration Information:</h2>
<ul>
<li><?php
	if($reg->getIsdaily()){
		echo 'Daily Registration ';
	} else {
		echo 'Full Conference Registration ';
	}
	if($reg->getIsearly()){
		echo 'Before Early Bird Deadline';
	} else {
		echo 'After Early Bird Deadline';
	}
?></li>
<li><?php
	if($reg->getBadgedate()){
		echo 'Badge Printed: ';
		echo $reg->getBadgedate('m-d-y');
	} else {
		echo 'Badge Not Printed.';
	}
?></li>
<li>Sessions: <?php 
	$tmp =0;
	$tmp2 = $reg->getSessionRegistrations();
	foreach($tmp2 as $t){
		if($tmp >0){
			echo ', ';
		}
		echo $t->getName();
		$tmp = $tmp+1;
	}
?></li>
<li>Special Events: <?php 
	$tmp =0;
	$tmp2 = $reg->getSpecialEventRegistrations();
	foreach($tmp2 as $t){
		if($tmp >0){
			echo ', ';
		}
		echo $t->getName();
		$tmp = $tmp+1;
	}
?></li>

</ul>
   